Prototype Design Pattern in C